from selenium import webdriver
from selenium.webdriver.common.by import By
import time

driver=webdriver.Edge()
driver.get('https://www.baidu.com/')
driver.find_element(By.ID,'kw').send_keys('wed自动化测试')
time.sleep(5)